<?php

/* Function definition for banner_image (which isn't a WP plugin) */

function banner_image($url_string, $vars) {
	$link = $vars['link'];

	if ( !isset($vars['path']) )
		$var['path'] = '/wp-content/themes/kiwicanvas/images/meet-kiwi.jpg';
?>
	<div class="shadow">
	<div class="firstPost-banner">
<?php
	if($link == '1') echo '<a href="'.get_bloginfo('siteurl').'">';
	echo '<img src="'.get_bloginfo('wpurl').'/'.$vars['path'].'" alt="Banner Image" />';
	if($link == '1') echo '</a>';
?>
	</div>
	</div>
<?php
}
?>